package com.ruoyi.common.enums.message;

public enum MessageType {


    TEXT(1, "文字"), IMAGE(2, "图片"),FILE(3, "文件"), QUOTE(4, "引用消息"), FORWARD(5, "转发消息");

    private final Integer code;
    private final String info;

    MessageType(Integer code, String info){
        this.code = code;
        this.info = info;
    }

    public Integer getCode(){
        return code;
    }

    public String getInfo(){
        return info;
    }
}
